package com.shadow.bus.config;

import com.shadow.bus.entity.OperationEntity;
import com.tepth.shadow.ui.recycler.MultipleItemEntity;

import java.util.List;

/**
 * @author zhangyu
 * @date 2018/7/5
 */

public class PersistData {
    private List<OperationEntity> mOperationEntities;
    private List<MultipleItemEntity> mRecommendEntities;
    private PersistData(){}
    private static final class Holder{
        private static final PersistData INSTANCE = new PersistData();
    }
    public static PersistData getInstance(){
        return Holder.INSTANCE;
    }

    public List<OperationEntity> getOperationEntities() {
        return mOperationEntities;
    }

    public void setOperationEntities(List<OperationEntity> operationEntities) {
        mOperationEntities = operationEntities;
    }

    public List<MultipleItemEntity> getRecommendEntities() {
        return mRecommendEntities;
    }

    public void setRecommendEntities(List<MultipleItemEntity> recommendEntities) {
        mRecommendEntities = recommendEntities;
    }
}
